Skip to content

feat(go): add retries for IPC failures#147

Merged
davidhcoe merged 8 commits into
adbc-drivers:mainfrom
davidhcoe:dev/ipc-retries
Jun 11, 2026
Merged

feat(go): add retries for IPC failures#147
davidhcoe merged 8 commits into
adbc-drivers:mainfrom
davidhcoe:dev/ipc-retries

Conversation

@davidhcoe

Copy link
Copy Markdown
Collaborator

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the Go Snowflake driver to support retry-based handling for Arrow IPC/stream read failures (and related cancellation/error-propagation improvements), primarily by bumping gosnowflake to v2.1.0 and wiring/configuring stream retry behavior across the driver.

Changes:

  • Bump dependencies (notably github.com/snowflakedb/gosnowflake/v2 to v2.1.0, plus driverbase-go modules) to pick up upstream stream retry/cancel improvements.
  • Expose and trace the statement-level OptionStreamRetryEnabled setting (so callers/tests can observe and debug retry mode).
  • Adjust GetObjects metadata population and test quirks to align with updated driverbase/validation expectations.

Reviewed changes

Copilot reviewed 7 out of 8 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
go/statement.go Adds GetOption support for OptionStreamRetryEnabled at statement scope.
go/record_reader.go Adds tracing for record reader construction (includes retry-enabled attribute).
go/go.mod Bumps gosnowflake + driverbase-go dependencies to newer versions.
go/go.sum Updates checksums for bumped module versions.
go/driver_test.go Updates test quirks to advertise SupportsGetTableSchema().
go/database.go Refactors //nolint placement to target deprecated gosnowflake config fields more precisely.
go/connection.go Uses driverbase.Nullable(...) when populating XDBC type fields in GetObjects output.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread go/record_reader.go Outdated

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 8 out of 9 changed files in this pull request and generated no new comments.

@davidhcoe davidhcoe marked this pull request as ready for review June 9, 2026 19:06
@davidhcoe

Copy link
Copy Markdown
Collaborator Author

Any feedback on this one @zeroshade or @lidavidm ?

Comment thread go/connection.go Outdated
@github-actions

Copy link
Copy Markdown

✔️ Test passed: davidhcoe/adbc-drivers-snowflake@877bb3f
Workflow run:

@davidhcoe davidhcoe merged commit 3e49ce1 into adbc-drivers:main Jun 11, 2026
2 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants